using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class RetrievePersonalWallRequest : OrganizationRequest
	{
		public int PageNumber
		{
			get
			{
				if (base.Parameters.Contains("PageNumber"))
				{
					return (int)base.Parameters["PageNumber"];
				}
				return 0;
			}
			set
			{
				base.Parameters["PageNumber"] = value;
			}
		}
		public int PageSize
		{
			get
			{
				if (base.Parameters.Contains("PageSize"))
				{
					return (int)base.Parameters["PageSize"];
				}
				return 0;
			}
			set
			{
				base.Parameters["PageSize"] = value;
			}
		}
		public int CommentsPerPost
		{
			get
			{
				if (base.Parameters.Contains("CommentsPerPost"))
				{
					return (int)base.Parameters["CommentsPerPost"];
				}
				return 0;
			}
			set
			{
				base.Parameters["CommentsPerPost"] = value;
			}
		}
		public DateTime StartDate
		{
			get
			{
				if (base.Parameters.Contains("StartDate"))
				{
					return (DateTime)base.Parameters["StartDate"];
				}
				return default(DateTime);
			}
			set
			{
				base.Parameters["StartDate"] = value;
			}
		}
		public DateTime EndDate
		{
			get
			{
				if (base.Parameters.Contains("EndDate"))
				{
					return (DateTime)base.Parameters["EndDate"];
				}
				return default(DateTime);
			}
			set
			{
				base.Parameters["EndDate"] = value;
			}
		}
		public OptionSetValue Type
		{
			get
			{
				if (base.Parameters.Contains("Type"))
				{
					return (OptionSetValue)base.Parameters["Type"];
				}
				return null;
			}
			set
			{
				base.Parameters["Type"] = value;
			}
		}
		public OptionSetValue Source
		{
			get
			{
				if (base.Parameters.Contains("Source"))
				{
					return (OptionSetValue)base.Parameters["Source"];
				}
				return null;
			}
			set
			{
				base.Parameters["Source"] = value;
			}
		}
		public RetrievePersonalWallRequest()
		{
			base.RequestName = "RetrievePersonalWall";
			this.PageNumber = 0;
			this.PageSize = 0;
			this.CommentsPerPost = 0;
		}
	}
}
